package com.xfpp.javaDemo.proxy;

import java.util.Random;

public class Tank implements Moveable {

	@Override
	public void move() {
		System.out.println("Tank moving...");
		try {
			Thread.sleep(new Random().nextInt(10000));
		}catch(Exception e) {
			e.printStackTrace();
		}
	}

	@Override
	public void stop() {
		System.out.println("Tank stop...");
	}

}
